package com.qf.joint.dao;

import com.qf.joint.pojo.Share;

import java.util.List;

/**
 * @Author Zhy
 * Date on 2020/9/13  14:01
 * @description
 */
public interface ShareDao {

    public int selectCount();
    //根据ID 查询
    public Share selectById(int id);

    //查询全部
    public List<Share> selectAll();
        //模糊
    public List<Share> selectByCon(String condition);
    //新增
    public int insertOne(Share share);
    //修改
    public int updateOne(Share share);

    //根据id删除
    public int deleteOne(List<String> list);

   /* //查询所有的图片
    List<Share> list();

    *//*上传一张*//*
    Integer save(Share share);*/
}
